import Vue from 'vue'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App'
import router from './router'
import VueLazyload from 'vue-lazyload'
// import i18n from '../lang' // Internationalization

Vue.use(Element)
Vue.use(VueLazyload,{
  error: 'http://img.xundianmao.com/icon_fail.png',
  loading: 'http://img.xundianmao.com/FjCZ52WymAdKyWa1ubCbAaurGRTN',
  attempt: 2
})
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
